"""
    文件备份
"""
fr = open("bill.txt", "r", encoding="UTF-8")
fw = open("bill.txt.bak", "w", encoding="UTF-8")
for line in fr:
    if line.count("测试"):
        continue
    else:
        fw.write(line)
fr.close()
fw.close()
